###out:src/main/java/${config.basePackageName?replace(".","/")}/${config.entityPackageName}/${config.modulePackageName}/${root.beanName}.java
package ${config.basePackageName}.${config.entityPackageName}.${config.modulePackageName};

import ${config.basePackageName}.common.base.BaseEntity;
import java.util.Date;
import java.math.BigDecimal;


/**
* ${root.beanName} 实体类
* by ${root.systemUserName} ${root.currentTime?string('yyyy-MM-dd HH:mm:ss')}
*/
public class ${root.beanName} extends BaseEntity {
    <#list root.tableColumns as column><#if column.columnName != 'id' && column.columnName != 'create_time' && column.columnName != 'creator'  && column.columnName != 'update_time'  && column.columnName != 'updater'  && column.columnName != 'activate'>
    private ${column.propertyType} ${column.propertyName};
    </#if></#list>

    /*----------------------get set 方法----------------------*/
    <#list root.tableColumns as column><#if column.columnName != 'id' && column.columnName != 'create_time' && column.columnName != 'creator'  && column.columnName != 'update_time'  && column.columnName != 'updater'  && column.columnName != 'activate'>
    public ${column.propertyType} get${(column.propertyName)?cap_first}() {return ${column.propertyName};}
    public void set${(column.propertyName)?cap_first}(${column.propertyType} ${column.propertyName}){<#if column.propertyType == 'String'>this.${column.propertyName} = ${column.propertyName} == null ? null : ${column.propertyName}.trim();<#else >this.${column.propertyName} = ${column.propertyName};</#if>}
    </#if></#list>
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "${root.beanName}{" +
        <#list root.tableColumns as column>
        "${column.propertyName}='" + get${column.propertyName?cap_first}() + '\'' + <#if column_has_next>',' + </#if>
        </#list>
        '}';
    }
}